Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support block devices on Sonoma #611

Merged
merged 3 commits into from
Sep 22, 2023
Merged

Support block devices on Sonoma #611

merged 3 commits into from
Sep 22, 2023

Conversation

fkorotkov
Copy link
Contributor

This way AWS customers will be able to benefit from fast local SSDs on the machines. Right now a EC2 Mac Instances is booted from a EBS volume which is fast but is not as fast as a local SSD. Running Tart VMs of the EBS volume totally works but for advanced integrators it might be reasonable to mount a local SSD as a disk to a VM and run their workloads on it.

There are a few caveats to this use case:

  1. Block devices persist state and should be cleaned up.
  2. tart binary should be run as root to access disks in /dev.
  3. Only Sonoma hosts are supported. Ventura guests are fine.
  4. A block device can only be attached to a single VM.

PS I tried but failed miserably to find a way to escalate permissions to open a file descriptor for the disk with root permission out of Tart process running as a user.

@fkorotkov fkorotkov enabled auto-merge (squash) September 22, 2023 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants